//
//  ContactHeader.m
//  WChat
//
//  Created by lee on 2018/8/6.
//  Copyright © 2018年 mjsfax. All rights reserved.
//

#import "ContactHeader.h"
#import "GroupListController.h"

@interface ContactHeader()

@end

@implementation ContactHeader

+ (instancetype)instance {
    return [[NSBundle mainBundle] loadNibNamed:@"ContactHeader" owner:nil options:nil].firstObject;
}

- (IBAction)groupChat:(UIButton *)sender {
 
    GroupListController *group = [[GroupListController alloc] init];
    UIViewController *vc = self.superview.nextResponder;
    [vc.navigationController pushViewController:group animated:YES];
    
}

@end
